/*
 * @Descripttion:
 * @Author: Zhai Penghui
 * @Date: 2021-11-03 17:18:26
 */

//ant-design 按需加载   只需要引入主体部分，如menu，不要引入menu-item 要不然报错
import {
  Button,
  Layout,
  Menu,
  Form,
  Input,
  Avatar,
  Dropdown,
} from "ant-design-vue";
import "ant-design-vue/dist/antd.css";
const components = [Button, Layout, Menu, Form, Input, Avatar, Dropdown];
export function setupAntd(app) {
  components.forEach((component) => {
    app.use(component);
  });
}
